import request from '@/utils/request'
export function save(data) {
    return request({
        url: '/app/termUser/save',
        method: 'post',
        data: data
    })
}
export function batchAdd(params) {
    return request({
        url: '/app/termUser/batchAdd',
        method: 'post',
        params: params
    })
}
export function list(params) {
    return request({
        url: '/app/termUser/list',
        method: 'get',
        params: params
    })
}

export function relationDel(params) {
    return request({
        url: '/app/termUser/relationDel',
        method: 'delete',
        params:params
    })
}
export function getTreeData(params,type) {
    return request({
        url: '/app/termUser/getTreeData',
        method: 'get',
        params: params,
        type:type
    })
}
